import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class JSONtest {

    public static void main(String[] args) throws JsonProcessingException {
        String str="[\"您好！欢迎致电我行客服热线，请问有什么可以帮到您？\",\"测试数据1\",\"测试数据2\",\"测试数据3\"]";
        ObjectMapper objectMapper =new ObjectMapper();
        String[] ss=objectMapper.readValue(str,String[].class);
        List<String> chatList = new ArrayList<>( Arrays.asList(ss));
        chatList.add("dfsfasdf");
    }
}
